From: Florian Müllner Date: Sat, 2 May 2020 21:32:04 +0000 (+0200) Subject: extensions-app: Fix Logout call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~408 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=27774582b647522be6c7b30592feb51e8c2163c7;p=gnome-shell.git extensions-app: Fix Logout call Commit 764527c8c9b adjusted the "call" call to promisification that never happened (in this bit of code). We can either add back a callback or properly promisify the call; this opts for the latter. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2735 --- diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 382637c74..005d1ddc6 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -15,6 +15,7 @@ const { ExtensionState, ExtensionType } = ExtensionUtils; const GnomeShellIface = loadInterfaceXML('org.gnome.Shell.Extensions'); const GnomeShellProxy = Gio.DBusProxy.makeProxyWrapper(GnomeShellIface); +Gio._promisify(Gio.DBusConnection.prototype, 'call', 'call_finish'); Gio._promisify(Shew.WindowExporter.prototype, 'export', 'export_finish'); function loadInterfaceXML(iface) {